(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/router')) :
    typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/router'], factory) :
    (global = global || self, factory(global['plugin-a'] = {}, global.core, global.common, global.forms, global.router));
}(this, function (exports, core, common, forms, router) { 'use strict';

    /*! *****************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    Licensed under the Apache License, Version 2.0 (the "License"); you may not use
    this file except in compliance with the License. You may obtain a copy of the
    License at http://www.apache.org/licenses/LICENSE-2.0

    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABLITY OR NON-INFRINGEMENT.

    See the Apache Version 2.0 License for specific language governing permissions
    and limitations under the License.
    ***************************************************************************** */

    function __decorate(decorators, target, key, desc) {
        var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
        if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
        else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
        return c > 3 && r && Object.defineProperty(target, key, r), r;
    }

    var PluginAComponent = /** @class */ (function () {
        function PluginAComponent() {
        }
        PluginAComponent = __decorate([
            core.Component({
                selector: 'coeus-plugin-a',
                template: "<div class=\"class-a\">Plugin A Imported! <span class=\"class-b\">Class B</span><inner></inner></div>",
                styles: ["div{display:-ms-flexbox;display:flex;color:red}div span{display:-ms-grid;display:grid;font-size:14px;-webkit-animation-duration:.3s;animation-duration:.3s}.class-a,.class-b{border:1px solid #008b8b}.class-b{background-color:#d2691e}"]
            })
        ], PluginAComponent);
        return PluginAComponent;
    }());

    var routes = [
        {
            path: '',
            pathMatch: 'full',
            component: PluginAComponent
        }
    ];
    var PluginARoutingModule = /** @class */ (function () {
        function PluginARoutingModule() {
        }
        PluginARoutingModule = __decorate([
            core.NgModule({
                imports: [
                    router.RouterModule.forChild(routes)
                ],
                exports: [
                    router.RouterModule
                ]
            })
        ], PluginARoutingModule);
        return PluginARoutingModule;
    }());

    var InnerComponent = /** @class */ (function () {
        function InnerComponent() {
        }
        InnerComponent = __decorate([
            core.Component({
                selector: 'inner',
                template: "<div>Inner Component</div>",
                styles: ["div{color:#ffdead}"]
            })
        ], InnerComponent);
        return InnerComponent;
    }());

    var PluginAModule = /** @class */ (function () {
        function PluginAModule() {
        }
        PluginAModule = __decorate([
            core.NgModule({
                imports: [
                    common.CommonModule,
                    forms.FormsModule,
                    PluginARoutingModule
                ],
                declarations: [
                    PluginAComponent,
                    InnerComponent
                ]
            })
        ], PluginAModule);
        return PluginAModule;
    }());

    exports.PluginAModule = PluginAModule;

    Object.defineProperty(exports, '__esModule', { value: true });

}));
